package com.example.sunmiv1.entity;

import androidx.annotation.NonNull;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2019-04-12 15:37.
 */

public class PrintInfoBean {


    /**
     * status : 1
     * msg : 查詢成功
     * data : {"job_num":"000001","store_name":"姑蘇直營店","vipInfo":{"phone":"198****1872","name":"迪","balance":"986.83","integral":"998790","plus_type":"3","discount":0.05},"beforeAllMoney":99.5,"all_money":41,"coupon_money":0,"vip_dis_money":9.11,"small_changes_money":0.33,"discount":0.5,"cashier_dis_money":41.33,"integral_dis_money":0.83,"use_integral":83,"amount_received":41,"give_change":0,"zero_storage":0,"add_time":"2019/06/24 18:53:51","finish_time":"2019/06/24 18:54:50","order_type":"店內訂單","payList":[{"name":"現金","money":"1.00","type":3},{"name":"測試其他支付","money":"40.00","type":5}],"goods":[{"original_price":"30.00","vip_price":"25.00","plus_vip_price":"0.00","vip_discount":1,"num":1,"vid":"318","all_money":"0.00","goods_name":"金龍魚","pricing_method":"1","goods_type":"1","before_all_money":30},{"original_price":"6.50","vip_price":"5.50","plus_vip_price":"0.00","vip_discount":0.05,"num":1,"vid":"318","all_money":"0.00","goods_name":"香蕉88","pricing_method":"1","goods_type":"1","before_all_money":6.5},{"original_price":"5.80","vip_price":"4.99","plus_vip_price":"0.00","vip_discount":1,"num":10,"vid":"318","all_money":"0.00","goods_name":"蘋果1號","pricing_method":"2","goods_type":"1","before_all_money":58},{"original_price":"5.00","vip_price":"4.10","plus_vip_price":"0.00","vip_discount":0.05,"num":1,"vid":"318","all_money":"0.00","goods_name":"塑料杯（藍色）","pricing_method":"1","goods_type":"1","before_all_money":5}],"print_time":"2019/06/24 18:54:51","order_no":"201906243631011488"}
     */

    private double status;
    private String msg;
    private DataBean data;

    public double getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * job_num : 000001
         * store_name : 姑蘇直營店
         * vipInfo : {"phone":"198****1872","name":"迪","balance":"986.83","integral":"998790","plus_type":"3","discount":0.05}
         * beforeAllMoney : 99.5
         * all_money : 41
         * coupon_money : 0
         * vip_dis_money : 9.11
         * small_changes_money : 0.33
         * discount : 0.5
         * cashier_dis_money : 41.33
         * integral_dis_money : 0.83
         * use_integral : 83
         * amount_received : 41
         * give_change : 0
         * zero_storage : 0
         * add_time : 2019/06/24 18:53:51
         * finish_time : 2019/06/24 18:54:50
         * order_type : 店內訂單
         * payList : [{"name":"現金","money":"1.00","type":3},{"name":"測試其他支付","money":"40.00","type":5}]
         * goods : [{"original_price":"30.00","vip_price":"25.00","plus_vip_price":"0.00","vip_discount":1,"num":1,"vid":"318","all_money":"0.00","goods_name":"金龍魚","pricing_method":"1","goods_type":"1","before_all_money":30},{"original_price":"6.50","vip_price":"5.50","plus_vip_price":"0.00","vip_discount":0.05,"num":1,"vid":"318","all_money":"0.00","goods_name":"香蕉88","pricing_method":"1","goods_type":"1","before_all_money":6.5},{"original_price":"5.80","vip_price":"4.99","plus_vip_price":"0.00","vip_discount":1,"num":10,"vid":"318","all_money":"0.00","goods_name":"蘋果1號","pricing_method":"2","goods_type":"1","before_all_money":58},{"original_price":"5.00","vip_price":"4.10","plus_vip_price":"0.00","vip_discount":0.05,"num":1,"vid":"318","all_money":"0.00","goods_name":"塑料杯（藍色）","pricing_method":"1","goods_type":"1","before_all_money":5}]
         * print_time : 2019/06/24 18:54:51
         * order_no : 201906243631011488
         */

        private String job_num;
        private String store_name;
        private VipInfoBean vipInfo;
        private double beforeAllMoney;
        private double all_money;
        private double coupon_money;
        private double vip_dis_money;
        private double small_changes_money;
        private double discount;
        private double cashier_dis_money;
        private double integral_dis_money;
        private double use_integral;
        private double amount_received;
        private double give_change;
        private double zero_storage;
        private String add_time;
        private String finish_time;
        private String order_type;
        private String print_time;
        private Integer print_number;
        private String order_no;

        private String integral_marketing;
        private String cashier_manual_money;

        private List<PayListBean> payList;
        private List<GoodsBean> goods;

        public String getJob_num() {
            return job_num == null ? "" : job_num;
        }

        public void setJob_num(String job_num) {
            this.job_num = job_num;
        }

        public String getStore_name() {
            return store_name == null ? "" : store_name;
        }

        public void setStore_name(String store_name) {
            this.store_name = store_name;
        }

        public VipInfoBean getVipInfo() {
            return vipInfo;
        }

        public void setVipInfo(VipInfoBean vipInfo) {
            this.vipInfo = vipInfo;
        }

        public double getBeforeAllMoney() {
            return beforeAllMoney;
        }

        public void setBeforeAllMoney(double beforeAllMoney) {
            this.beforeAllMoney = beforeAllMoney;
        }

        public double getAll_money() {
            return all_money;
        }

        public void setAll_money(double all_money) {
            this.all_money = all_money;
        }

        public double getCoupon_money() {
            return coupon_money;
        }

        public void setCoupon_money(double coupon_money) {
            this.coupon_money = coupon_money;
        }

        public double getVip_dis_money() {
            return vip_dis_money;
        }

        public void setVip_dis_money(double vip_dis_money) {
            this.vip_dis_money = vip_dis_money;
        }

        public double getSmall_changes_money() {
            return small_changes_money;
        }

        public void setSmall_changes_money(double small_changes_money) {
            this.small_changes_money = small_changes_money;
        }

        public double getDiscount() {
            return discount;
        }

        public void setDiscount(double discount) {
            this.discount = discount;
        }

        public double getCashier_dis_money() {
            return cashier_dis_money;
        }

        public void setCashier_dis_money(double cashier_dis_money) {
            this.cashier_dis_money = cashier_dis_money;
        }

        public double getIntegral_dis_money() {
            return integral_dis_money;
        }

        public void setIntegral_dis_money(double integral_dis_money) {
            this.integral_dis_money = integral_dis_money;
        }

        public double getUse_integral() {
            return use_integral;
        }

        public void setUse_integral(double use_integral) {
            this.use_integral = use_integral;
        }

        public double getAmount_received() {
            return amount_received;
        }

        public void setAmount_received(double amount_received) {
            this.amount_received = amount_received;
        }

        public double getGive_change() {
            return give_change;
        }

        public void setGive_change(double give_change) {
            this.give_change = give_change;
        }

        public double getZero_storage() {
            return zero_storage;
        }

        public void setZero_storage(double zero_storage) {
            this.zero_storage = zero_storage;
        }

        public String getAdd_time() {
            return add_time == null ? "" : add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getFinish_time() {
            return finish_time == null ? "" : finish_time;
        }

        public void setFinish_time(String finish_time) {
            this.finish_time = finish_time;
        }

        public String getOrder_type() {
            return order_type == null ? "" : order_type;
        }

        public void setOrder_type(String order_type) {
            this.order_type = order_type;
        }

        public String getPrint_time() {
            return print_time == null ? "" : print_time;
        }

        public void setPrint_time(String print_time) {
            this.print_time = print_time;
        }

        public String getOrder_no() {
            return order_no == null ? "" : order_no;
        }

        public void setOrder_no(String order_no) {
            this.order_no = order_no;
        }

        public String getIntegral_marketing() {
            return integral_marketing == null ? "" : integral_marketing;
        }

        public void setIntegral_marketing(String integral_marketing) {
            this.integral_marketing = integral_marketing;
        }

        public String getCashier_manual_money() {
            return cashier_manual_money == null ? "" : cashier_manual_money;
        }

        public void setCashier_manual_money(String cashier_manual_money) {
            this.cashier_manual_money = cashier_manual_money;
        }

        public Integer getPrint_number() {
            return print_number;
        }

        public void setPrint_number(Integer print_number) {
            this.print_number = print_number;
        }

        public List<PayListBean> getPayList() {
            if (payList == null) {
                return new ArrayList<>();
            }
            return payList;
        }

        public void setPayList(List<PayListBean> payList) {
            this.payList = payList;
        }

        public List<GoodsBean> getGoods() {
            if (goods == null) {
                return new ArrayList<>();
            }
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class VipInfoBean {
            /**
             * phone : 198****1872
             * name : 迪
             * balance : 986.83
             * integral : 998790
             * plus_type : 3
             * discount : 0.05
             */

            private String phone;
            private String name;
            private String balance;
            private String integral;
            private String plus_type;
            private double discount;

            public String getPhone() {
                return phone == null ? "" : phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getName() {
                return name == null ? "" : name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getBalance() {
                return balance == null ? "" : balance;
            }

            public void setBalance(String balance) {
                this.balance = balance;
            }

            public String getIntegral() {
                return integral == null ? "" : integral;
            }

            public void setIntegral(String integral) {
                this.integral = integral;
            }

            public String getPlus_type() {
                return plus_type == null ? "" : plus_type;
            }

            public void setPlus_type(String plus_type) {
                this.plus_type = plus_type;
            }

            public double getDiscount() {
                return discount;
            }

            public void setDiscount(double discount) {
                this.discount = discount;
            }
        }

        public static class PayListBean {
            /**
             * name : 現金
             * money : 1.00
             * type : 3
             */

            private String name;
            private String money;
            private int type;

            public String getName() {
                return name == null ? "" : name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getMoney() {
                return money == null ? "" : money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }

        public static class GoodsBean {
            /**
             * original_price : 30.00
             * vip_price : 25.00
             * plus_vip_price : 0.00
             * vip_discount : 1
             * num : 1
             * vid : 318
             * all_money : 0.00
             * goods_name : 金龍魚
             * pricing_method : 1
             * goods_type : 1
             * before_all_money : 30
             */

            private String original_price;
            private String vip_price;
            private String plus_vip_price;
            private double vip_discount;
            private double num;
            private String vid;
            private String all_money;
            private String goods_name;
            private String pricing_method;
            private String goods_type;
            private double before_all_money;
            private String company;
            private double price;
            private String sku_name;

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public String getCompany() {
                return company == null ? "" : company;
            }

            public void setCompany(String company) {
                this.company = company;
            }

            public String getOriginal_price() {
                return original_price == null ? "" : original_price;
            }

            public void setOriginal_price(String original_price) {
                this.original_price = original_price;
            }

            public String getVip_price() {
                return vip_price == null ? "" : vip_price;
            }

            public void setVip_price(String vip_price) {
                this.vip_price = vip_price;
            }

            public String getPlus_vip_price() {
                return plus_vip_price == null ? "" : plus_vip_price;
            }

            public void setPlus_vip_price(String plus_vip_price) {
                this.plus_vip_price = plus_vip_price;
            }

            public double getVip_discount() {
                return vip_discount;
            }

            public void setVip_discount(double vip_discount) {
                this.vip_discount = vip_discount;
            }

            public double getNum() {
                return num;
            }

            public void setNum(double num) {
                this.num = num;
            }

            public String getVid() {
                return vid == null ? "" : vid;
            }

            public void setVid(String vid) {
                this.vid = vid;
            }

            public String getAll_money() {
                return all_money == null ? "" : all_money;
            }

            public void setAll_money(String all_money) {
                this.all_money = all_money;
            }

            public String getGoods_name() {
                return goods_name == null ? "" : goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getPricing_method() {
                return pricing_method == null ? "" : pricing_method;
            }

            public void setPricing_method(String pricing_method) {
                this.pricing_method = pricing_method;
            }

            public String getGoods_type() {
                return goods_type == null ? "" : goods_type;
            }

            public void setGoods_type(String goods_type) {
                this.goods_type = goods_type;
            }

            public double getBefore_all_money() {
                return before_all_money;
            }

            public void setBefore_all_money(double before_all_money) {
                this.before_all_money = before_all_money;
            }

            public String getSku_name() {
                return sku_name;
            }

            public void setSku_name(String sku_name) {
                this.sku_name = sku_name;
            }
        }
    }


}
